<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="x-ua-compatible" content="IE=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>GdUnit4 Testsuite</title>
	<link rel="stylesheet" href="../css/styles.css">
	<link href="../css/breadcrumb.css" rel="stylesheet" type="text/css" />

	<script src="https://code.jquery.com/jquery-3.6.4.js"></script>
	<script>
		$(document).ready(function () {
			var report_view = $('#report_area').find('.report-column')

			$('#report-table tr').click(function () {
				var report = $(this).find('.report-column').html();
				report_view.html(report)
				$('.selected').removeClass('selected');
				$(this).addClass('selected');
			});
		});
	</script>
</head>

<body>
	<header>
		<div class="logo">
			<img src="../css/logo.png" alt="GdUnit4 Logo">
			<span>GdUnit4</span>
		</div>
		<div class="report-container">
			<h1>Testsuite Report</h1>
			<div>
				<span class="label">res://test/model/property_test.gd</span>
			</div>
			<div class="summary">
				<div class="summary-item">
					<span class="label">Tests</span>
					<span class="value">26</span>
				</div>
				<div class="summary-item">
					<span class="label">Skipped</span>
					<span class="value">0</span>
				</div>
				<div class="summary-item">
					<span class="label">Flaky</span>
					<span class="value">0</span>
				</div>
				<div class="summary-item">
					<span class="label">Failures</span>
					<span class="value">0</span>
				</div>
				<div class="summary-item">
					<span class="label">Orphans</span>
					<span class="value">0</span>
				</div>
				<div class="summary-item">
					<span class="label">Duration</span>
					<span class="value">870ms</span>
				</div>
				<div class="success-rate">
					<div class="check-icon status-passed">✓</div>
					<div class="rate-text">
						<span class="label">Success Rate</span>
						<span class="value">100%</span>
					</div>
				</div>
			</div>
		</div>
		<div class="breadcrumb">
			<a href="../index.html"><span>All</span></a>
			<a href="../path/test.model.html"><span>test/model</span></a>
			<a class="active" href="#"><span>property_test</span></a>
		</div>
	</header>

	<main>
		<div class="tab-report-grid">
			<div class="grid-item tab">
				<table id="report-table">
					<thead>
						<tr>
							<th>Testcase</th>
							<th>Result</th>
							<th>Skipped</th>
							<th>Orphans</th>
							<th>Duration</th>
							<th class="report-column">Report</th>
						</tr>
					</thead>
					<tbody>
						
								<tr class="testcase-group">
									<td>test_string_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>15ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_string_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>31ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_int_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>21ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_int_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>25ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_bool_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>14ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_bool_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>24ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_float_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>15ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_float_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>25ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_color_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>15ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_color_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>24ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_reference_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>23ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_reference_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>24ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_unknown_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>24ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_resource_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>14ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_resource_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>31ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_array_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>20ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_array_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>23ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_array_property_custom_parsers</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>13ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_vector2_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>13ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_vector2_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>25ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_vector2i_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>21ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_vector2i_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>31ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_vector3_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>14ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_vector3_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>24ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_vector3i_property</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>13ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>


								<tr class="testcase-group">
									<td>test_vector3i_property_wrong_type</td>
									<td><span class="status status-passed">PASSED</span></td>
									<td>0</td>
									<td>0</td>
									<td>24ms</td>
									<td class="report-column">
										<pre>

										</pre>
									</td>
								</tr>

					</tbody>
				</table>
			</div>
			<div id="report_area" class="grid-item tab">
				<h4>Failure Report</h4>
				<div class="report-column"></div>
			</div>
		</div>
	</main>

	<footer>
		<p>Generated by <a href="https://github.com/MikeSchulze/gdUnit4">GdUnit4</a> at 2025-11-06 07:52:32</p>
		<div class="status-legend">
			<span class="status-legend-item">
				<span class="status-box status-skipped"></span> Skipped
			</span>
			<span class="status-legend-item">
				<span class="status-box status-passed"></span> Passed
			</span>
			<span class="status-legend-item">
				<span class="status-box status-flaky"></span> Flaky
			</span>
			<span class="status-legend-item">
				<span class="status-box status-warning"></span> Warning
			</span>
			<span class="status-legend-item">
				<span class="status-box status-failed"></span> Failed
			</span>
			<span class="status-legend-item">
				<span class="status-box status-error"></span> Error
			</span>
		</div>
	</footer>
</body>

<script>
	function groupTableRows() {
		const table = document.getElementById('report-table');
		const rows = table.querySelectorAll('tbody tr');

		let previousTestCase = '';
		let groupStartIndex = 0;
		let groupColorToggle = true; // Toggle between two colors

		rows.forEach((row, index) => {
			const testCaseName = row.cells[0].textContent.trim();

			if (testCaseName !== previousTestCase) {
				// Close the previous group
				if (index > 0 && groupStartIndex !== index - 1) {
					// Apply background color to the group
					const groupClass = groupColorToggle ? 'group-bg-1' : 'group-bg-2';
					for (let i = groupStartIndex; i <= index - 1; i++) {
						rows[i].classList.add(groupClass);
					}

					// Toggle background color for the next group
					groupColorToggle = !groupColorToggle;
				}

				// Start a new group
				groupStartIndex = index;
			}

			previousTestCase = testCaseName;
		});

		// Handle the last group
		if (groupStartIndex !== rows.length - 1) {
			// Apply background color to the last group
			const groupClass = groupColorToggle ? 'group-bg-1' : 'group-bg-2';
			for (let i = groupStartIndex; i < rows.length; i++) {
				rows[i].classList.add(groupClass);
			}
		}
	}

	// Call the function to group table rows after the DOM loads
	document.addEventListener('DOMContentLoaded', groupTableRows);
</script>

</html>
